package com.my.zuji.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import com.my.zuji.domain.bookkeeping.User;

public interface UserRepository extends JpaRepository<User,Long>,
		JpaSpecificationExecutor<User> {
	User findByUserNameAndPassword(String userName, String password);
	User findByUserName(String userName);
}